package com.xlf.pojo.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.xlf.pojo.mode.BaseEntity;
import lombok.Data;

/**
 *
 * @TableName contest_problem
 */
@TableName(value ="contest_problem")
@Data
public class ContestProblem extends BaseEntity implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 该题目在比赛中的顺序id
     */
    private String seq;

    /**
     * 比赛id
     */
    private Long cid;

    /**
     * 题目id
     */
    private Long pid;

    /**
     * 气球颜色
     */
    private String color;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 比赛题目
     */
    @TableField(exist = false)
    private Problem problem;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
